home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.2 Development Libraries / SGI IRIX 6.2 Development Libraries.iso / relnotes / motif_dev / ch3.z / ch3
Encoding:
Text File  |  1997-09-04  |  7.7 KB  |  199 lines

  1.  
  2.  
  3.  
  4.                                   - 1 -
  5.  
  6.  
  7.  
  8.        3.  _C_h_a_n_g_e_s__a_n_d__A_d_d_i_t_i_o_n_s
  9.  
  10.           +o See the _1._2._4-_6._2 _I_R_I_X _I_M _R_e_l_e_a_s_e _N_o_t_e_s, _E_x_e_c_u_t_i_o_n-_O_n_l_y
  11.             _E_n_v_i_r_o_n_m_e_n_t for functional changes.
  12.  
  13.           +o _S_e_c_u_r_i_t_y _n_o_t_e: _a_s _i_n _p_r_e_v_i_o_u_s _I_R_I_X _I_M _r_e_l_e_a_s_e_s, _t_h_e
  14.             _M_o_t_i_f _d_e_m_o _p_r_o_g_r_a_m_s _a_r_e _s_h_i_p_p_e_d _w_r_i_t_a_b_l_e _b_y _e_v_e_r_y_o_n_e.
  15.             _I_f _t_h_i_s _i_s _a _s_e_c_u_r_i_t_y _p_r_o_b_l_e_m _f_o_r _y_o_u, _s_e_t _t_h_e _a_c_c_e_s_s
  16.             _t_o _w_h_a_t_e_v_e_r _y_o_u _l_i_k_e _a_f_t_e_r _y_o_u _i_n_s_t_a_l_l _t_h_e _p_r_o_g_r_a_m_s.
  17.  
  18.           +o This release is derived from OSF/Motif 1.2.4, and has
  19.             those features.
  20.  
  21.           +o This release is based on X11R6, and has those features.
  22.  
  23.           +o _m_m_k_m_f has proven to be a useful script.  As a result,
  24.             it has now been put in /_u_s_r/_b_i_n/_X_1_1/_m_m_k_m_f.
  25.  
  26.           +o /_u_s_r/_i_n_c_l_u_d_e/{_X_m,_M_r_m,_u_i_l} are now real directories, and
  27.             /_u_s_r/_i_n_c_l_u_d_e/_X_1_1/{_X_m,_M_r_m,_u_i_l} are symbolic links to
  28.             them.
  29.  
  30.             In the last release, the situation was reversed.  This
  31.             change should have no practical effect.  The symbolic
  32.             links are provided in this release only to preserve
  33.             compatibility.  They will be removed in a future
  34.             release.
  35.  
  36.             The new directory structure matches the standard
  37.             specified way of including Motif header files:
  38.  
  39.             ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
  40.  
  41.             It would be prudent to change any code that uses the
  42.             (now obsolete)
  43.  
  44.             ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////XXXXmmmm////XXXXmmmm....hhhh>>>>
  45.  
  46.             because the symbolic links will be removed in a future
  47.             release.
  48.  
  49.           +o After installing this release, you need to do a new
  50.             _m_a_k_e_d_e_p_e_n_d.  Otherwise, your dependencies might refer
  51.             to headers that are no longer there (but used to be
  52.             included by other X or Motif header files).
  53.  
  54.           +o Some standard system header files are no longer
  55.             included by X/Motif, so you might have to add some
  56.             #_i_n_c_l_u_d_e files to your own application (if you needed
  57.             the header, too).
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                   - 2 -
  71.  
  72.  
  73.  
  74.           +o You no longer need ----llllssssuuuunnnn on your _l_d line.
  75.  
  76.           +o In the previous release, there were links from X11 to
  77.             the Xm header files _A_t_o_m_M_g_r._h, _P_r_o_t_o_c_o_l_s._h,
  78.             _P_r_o_t_o_c_o_l_s_P._h, and _M_w_m_U_t_i_l._h.  This was for backwards
  79.             compatibility with the OSF/Motif 1.0 release, (although
  80.             Silicon Graphics did not release a product based on
  81.             that version).  These links are no longer created.  The
  82.             files should be included as <Xm/...> instead of
  83.             <X11/...>.
  84.  
  85.           +o The following header files were in Release 1.1 of
  86.             Motif, but are now obsolete in Release 1.2:
  87.             _E_x_t_O_b_j_e_c_t._h, _T_r_a_v_e_r_s_a_l._h, _V_a_S_i_m_p_l_e._h, _V_e_n_d_o_r_E._h,
  88.             _V_e_n_d_o_r_E_P._h.
  89.  
  90.           +o A new public header file, _X_m_A_l_l._h, has been added to
  91.             Motif.  This file consists of all the documented header
  92.             files.
  93.  
  94.           +o This release builds cleanly (without errors or
  95.             warnings) with ANSI C, if you use the flag ----wwwwooooffffffff 111188882222.
  96.             That flag suppresses warnings caused by Xt header
  97.             files.  The warnings are valid, but indicate no
  98.             malfunction on a Silicon Graphics system.
  99.  
  100.           +o All references to caddr_t have been changed to
  101.             XtPointer.  This affects all callback routines and
  102.             other routines that make reference to caddr_t.
  103.  
  104.           +o Many of the changes to Motif for Revision 1.2 were made
  105.             to enable the development of internationalized
  106.             applications and are based on X11 Release 5
  107.             specifications.  In particular OSF/Motif
  108.             internationalization capabilities rely on the fact that
  109.             the X and C libraries support the ``locale'' concept
  110.             from ANSI-C or POSIX standards.  To run Motif 1.2, you
  111.             must have X11R5 installed including all the
  112.             internationalization features.
  113.  
  114.           +o An XmDisplay object has been added to support per-
  115.             display data and resources.  An XmScreen object has
  116.             been added to support per-screen data and resources.
  117.  
  118.           +o Tear-off behavior is enabled by setting the
  119.             XmNtearOffModel resource to XmTEAR_OFF_ENABLED (the
  120.             default is XmTEAR_OFF_DISABLED).
  121.  
  122.             There is no resource converter preregistered for
  123.             XmNtearOffModel.  To allow tear-off functionality to be
  124.             enabled through the resource database, an application
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                                   - 3 -
  137.  
  138.  
  139.  
  140.             must register its own resource converter for the
  141.             XmNtearOffModel resource using the
  142.             XmRepTypeInstallTearOffModelConverter function.
  143.  
  144.             The converter is not automatically installed because
  145.             many applications use map or cascading callbacks to
  146.             dynamically set the sensitivity of items within their
  147.             menus.  However, if a TearOff Menu is mapped, the
  148.             sensitivity of its menu items must be changed
  149.             immediately to reflect changes in other application
  150.             states.  Existing applications are unlikely to change
  151.             menu item sensitivity in this manner, so allowing their
  152.             menus to be torn off could allow operations to be
  153.             enabled at unexpected times.  If you activate one of
  154.             these menu items, it might crash the application or
  155.             cause corruption of persistent data.
  156.  
  157.             A torn-off menu is created in the same visual as the
  158.             menu it was torn from.  If the original menu was in the
  159.             pop-up planes, the torn-off menu is there too.  This
  160.             means that something that is not really transient is
  161.             now in the pop-up planes.  It will be subject to all of
  162.             the usual problems that non-transient windows in the
  163.             pop-up planes face: limited colormap, colormap
  164.             flashing, and damage from things that write to the
  165.             pop-ups without benefit of a window.
  166.  
  167.             Note that the only bad effects are cosmetic.  The
  168.             available alternatives include:
  169.  
  170.                - Understand that this is the situation.  In
  171.                  practice, it might not cause a real problem for
  172.                  you.
  173.  
  174.                - Don't enable tear-off menus if your menus are in
  175.                  the pop-up planes.
  176.  
  177.                - If your system has overlay planes, put your menus
  178.                  there instead.
  179.  
  180.                - If your system does not have overlay planes, put
  181.                  your menus in the normal planes and accept any
  182.                  redrawing caused by bringing up a menu.
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.